package com.hanxiaozhang.system.service;

import com.hanxiaozhang.result.Result;
import com.hanxiaozhang.system.dto.RoleDTO;
import com.hanxiaozhang.system.entity.RoleEntity;

import java.util.List;
import java.util.Map;

/**
 * 角色表
 * 
 * @author hanxiaozhang
 * @email hanxiaozhang2018@sina.com
 * @date 2021-03-31
 */
public interface RoleService {

	RoleDTO get(Long roleId);
	
	List<RoleDTO> list(Map<String, Object> map);
	
	int save(RoleDTO role);
	
	int update(RoleDTO role);

	Result remove(Long roleId);

	Result batchRemove(Long[] roleIds);

}
